package com.hqyj.smvc.pojo;

import lombok.Builder;

import java.util.List;

@Builder
public class Company {

    private Integer company_id;

    private String company_name;

    private String company_address;

    private List<Employee> employee;


    public Company() {
    }

    public Company(Integer company_id, String company_name, String company_address, List<Employee> employee) {
        this.company_id = company_id;
        this.company_name = company_name;
        this.company_address = company_address;
        this.employee = employee;
    }

    /**
     * 获取
     * @return company_id
     */
    public Integer getCompany_id() {
        return company_id;
    }

    /**
     * 设置
     * @param company_id
     */
    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }

    /**
     * 获取
     * @return company_name
     */
    public String getCompany_name() {
        return company_name;
    }

    /**
     * 设置
     * @param company_name
     */
    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    /**
     * 获取
     * @return company_address
     */
    public String getCompany_address() {
        return company_address;
    }

    /**
     * 设置
     * @param company_address
     */
    public void setCompany_address(String company_address) {
        this.company_address = company_address;
    }

    /**
     * 获取
     * @return employee
     */
    public List<Employee> getEmployee() {
        return employee;
    }

    /**
     * 设置
     * @param employee
     */
    public void setEmployee(List<Employee> employee) {
        this.employee = employee;
    }

    public String toString() {
        return "Company{company_id = " + company_id + ", company_name = " + company_name + ", company_address = " + company_address + ", employee = " + employee + "}";
    }
}
